package com.jastar.android.game.richman.logic.handler;

import com.jastar.android.game.richman.GameActivity;
import com.jastar.android.game.richman.logic.bean.Cell;
import com.jastar.android.game.richman.logic.bean.Player;
import com.jastar.android.game.richman.logic.enums.CellType;

import java.text.MessageFormat;

public class CellDefaultHandler implements CellType.Handler {

    @Override
    public void hand(GameActivity activity, Cell cell, Player player, CellType.Callback callback) {
        callback.callback();
    }

    protected String format(String pattern, Object... arguments) {
        return MessageFormat.format(pattern, arguments);
    }

}
